package com.hsj.demo.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class ChatHistory {
    private Integer id;
    private Integer userFriendId;
    private String message;
    private Date sendTime;
    private Character isRead;

    public ChatHistory() { }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserFriendId() {
        return userFriendId;
    }

    public void setUserFriendId(Integer userFriendId) {
        this.userFriendId = userFriendId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Character getIsRead() {
        return isRead;
    }

    public void setIsRead(Character isRead) {
        this.isRead = isRead;
    }
}
